<!DOCTYPE html>
<html>
<head>
  <title>电子控—专业电子产品新闻网</title>
  <%= stylesheet_link_tag :all %>
  <%= javascript_include_tag :defaults %>
  <%= javascript_include_tag "FCKEditor/fckeditor.js" %>
  <%= csrf_meta_tag %>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>

<body>

<div>
   <div id="user_nav" class="loginin">
    <a title="登录" class="welcome" href="/login">您还未登录 !</a>
    <a style="color:red" href="http://www.iteye.com/all">我订阅的新闻</a>
    <a href="/login">登录</a>
    <a class="nobg" href="/signup">注册</a>
  	</div>
</div>

<div class="logo">
	<%= link_to (image_tag("logo.png"), { :controller => 'gadgets', :action => 'index' })%>
      <!--<img alt="Dianzikong" src="/images/logo.png" />-->
</div>

<!--The main content including Banner, Content -->
<div id="mainContent" class="mianContent" >
	<%= yield %>
</div>

<!--The one row icons above the right column 
<div style="position:fixed; right: 50px; top: 120px; width: 200px;">
	<div style="float:left; width: 20px; height: 18px; background-color:#5585E2; text-align:center; padding-top:3px"> <%= image_tag "home.png" %></div>
	<div style="float:left; width: 20px; height: 18px; background-color:#5585E2; text-align:center; padding-top:3px; margin-left:1px"> <%= image_tag "popular.png" %></div>
	<div style="float:left; width: 20px; height: 18px; background-color:#5585E2; text-align:center; padding-top:3px; margin-left:1px"> <%= image_tag "search.png" %></div>
	<div style="float:left; width: 75px; height: 21px; background-color:#5585E2; margin-left:2px; font-size: larger; color:#FFFFFF;text-align:center;">  特色新闻 </div>
	<div style="float:left; width: 40px; height: 21px; background-color:#5585E2; margin-left:10px; font-size: larger; color:#FFFFFF;text-align:center;">  登录 </div>	
</div>
-->

<div class="clear"></div>
<!-- The footer -->
<div id="footer" class="footer">
		<span>* <%= link_to 'Index', {:controller => 'gadgets', :action => 'index'} %></span> 
		<span>* <%= link_to 'About', {:controller => 'misc', :action => 'about'} %></span>
		<span>* <%= link_to 'Legal', {:controller => 'misc', :action => 'legal'} %></span> 
		<span>* Privacy</span> 
		<span>* Advertising</span>
		<span>* Subscribe</span>
		<!--<span>* Forums</span>-->
		<br />
		CopyRight (c) 2011. DianziKong@gmail.com
</div>

<div align="center"><!--VlexoFree_LinkBack--></div>

</body>
</html>
